from django.contrib import admin

from .models import Blog
# Register your models here.

# admin.site.register(Blog)


#另外一种写法
@admin.register(Blog)
class BlogAdmin(admin.ModelAdmin):
    list_display = ("title","time","count")